package cn.com.cfae.iras.doc.analyze.dao.integrityregulation;

import cn.com.cfae.iras.doc.analyze.beans.iaad.IaadAnalyzeJob;
import cn.com.cfae.iras.doc.analyze.beans.iaad.IaadAnalyzeJobDetail;
import cn.com.cfae.iras.doc.analyze.beans.iaad.IaadGrade;
import cn.com.cfae.iras.doc.analyze.beans.iaad.IaadIndicatorGradeDetail;
import cn.com.cfae.iras.doc.analyze.beans.iaad.IndustryIndicatorList;
import cn.com.cfae.iras.doc.analyze.beans.integrity.IntegrityRegulation;
import cn.com.cfae.iras.doc.analyze.beans.integrity.IntegrityRegulationDetail;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by 佟媛媛 on 18/10/23.
 */

@Repository
public interface IntegrityRegulationMapper {
    List<Map> getComponentList(Map map) throws Exception;
    List<Map> getComponentList2(Map map) throws Exception;
    List<IntegrityRegulationDetail> getIntegrityRegulationDetailList(IntegrityRegulationDetail integrityRegulationDetail) throws Exception;
    List<IntegrityRegulation> getIntegrityRegulationList(IntegrityRegulation integrityRegulation) throws Exception;
    List<IndustryIndicatorList> getManualIaadIndicatorGradeDetailList(Map map) throws Exception;
    IaadGrade getIaadGrade(Map map) throws Exception;
    void addIaadIndicatorGradeDetail(List<IaadIndicatorGradeDetail> list) throws Exception;
    void deleteIaadIndicatorGradeDetail(String indicatorGradeId) throws Exception;
    void updateIaadIndicatorGradeAutomateTotalScore(Map map) throws Exception;
    void updateIaadGradeTotalScore(Map map) throws Exception;
    void updateIaadGradeProjectName(Map map) throws Exception;
    IaadAnalyzeJob getIaadAnalyzeJobById(String jobId) throws Exception;
    void updateIaadAnalyzeJob(IaadAnalyzeJob iaadAnalyzeJob) throws Exception;
    void addIaadAnalyzeJobDetail(IaadAnalyzeJobDetail iaadAnalyzeJobDetail) throws Exception;
}
